package org.zoomdev.zoom.dao.entity;

import org.zoomdev.zoom.aop.Setter;

import java.util.Map;

public class MapperSetter implements Setter {

    private final String name;

    public MapperSetter(String name) {
        this.name = name;
    }


    @Override
    public void set(Object target, Object value) {
        ((Map) target).put(name, value);
    }
}
